package cn.gd.pojo;


import java.util.Date;

public class Travelapplications {
    private Long id;
    private String applicationDetails;

    /**
     * 出差ID
     */
    private Integer travelID;

    /**
     * 申请人ID
     */
    private Integer userID;

    /**
     * 开始日期
     */
    private Date startDate;

    /**
     * 结束日期
     */
    private Date endDate;

    /**
     * 目的地
     */
    private String destination;

    /**
     * 出差目的
     */
    private String purpose;

    /**
     * 是否批准
     */
    private Boolean approved;

    private Boolean status;
    private String remarks;
    private Date approvalDate;

    private Users users;

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getApprovalDate() {
        return approvalDate;
    }

    public void setApprovalDate(Date approvalDate) {
        this.approvalDate = approvalDate;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    public Integer getTravelID() {
        return travelID;
    }

    public void setTravelID(Integer travelID) {
        this.travelID = travelID;
    }

    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public Boolean getApproved() {
        return approved;
    }

    public void setApproved(Boolean approved) {
        this.approved = approved;
    }

    @Override
    public String toString() {
        return "Travelapplications{" +
                "travelID=" + travelID +
                ", userID=" + userID +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", destination='" + destination + '\'' +
                ", purpose='" + purpose + '\'' +
                ", approved=" + approved +
                ", status=" + status +
                ", remarks='" + remarks + '\'' +
                ", approvalDate=" + approvalDate +
                ", users=" + users +
                '}';
    }
}
